<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="kk" style="background-color: red; width: 200px;height: 200px;">123123123</div>
</body>
<script src="/jquery-3.4.1.js"></script>
<script>
    $(function(){

        $("#kk").click(function(){
            alert("123")
        });
    })
</script>
</html>